package com.example.administrator.orchardeveryday.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 15-10-28.
 */
public class HomeEntity implements Serializable{

    /**
     * rotation : [{"photo":"http://cdn.fruitday.com/images/2015-10-20/f3c60c9a68a72db8a0604596fa9b776f.jpg","price":"0","title":"app-普通-大凉山苹果-北京上海","type":"6","target_id":"0","description":"","page_url":"http://active.fruitday.com/sale/dls/dlsapp.html?","position":"0","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-27/6333795d81afd2f22ff3a2feb5a7cddc.jpg","price":"0","title":"app-轮播-好好吃饭2-全仓","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/scb/scbgl.html?","position":"0","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/d2c284c3230b194d26398702ba08c46c.jpg","price":"0","title":"app-普通-浦发-全仓","type":"6","target_id":"3","description":"","page_url":"http://active.fruitday.com/sale/pf08-app/pfsj08s.html?","position":"0","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/3b58031282587dbf84f070e83a32abaa.jpg","price":"0","title":"果食活动","type":"11","target_id":"34","description":"","page_url":"","position":"0","channel":"portal"}]
     * banner : [{"photo":"http://cdn.fruitday.com/images/2015-10-28/01718c6d171294ae6cadd08839119805.jpg","price":"0","title":"万圣节","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/ifresh/wsj/indexbj.html?","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-12/480a0b765feb9dd307a2b2c1def68163.jpg","price":"0","title":"app+wap-普通-糖心苹果-北京","type":"2","target_id":"6013","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-15/36df77e8de24ca042a8187654350a70b.jpg","price":"0","title":"app+wap-普通-澳橙-北京","type":"2","target_id":"5844","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/ce89f5f3899f02437b6dbff4e71477da.jpg","price":"0","title":"app+wap-普通-奇异果-北京","type":"2","target_id":"4352","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/fee6d0f6eb495f38a6046f94d5b2c7d4.jpg","price":"0","title":"app+wap-普通-甜枣-北京","type":"2","target_id":"5538","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-10/64b8639979b40fd8a3f042569b008371.jpg","price":"0","title":"app+wap-普通-红心火龙果-北京","type":"2","target_id":"4394","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-26/5ce877d23d94a264b455df064f4e56d9.jpg","price":"0","title":"app+wap-普通-江西蜜桔-北京","type":"2","target_id":"5678","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/4d107a66c2f991122c9d57dcf61f2dbf.jpg","price":"0","title":"app+wap-普通-红提-北京","type":"2","target_id":"4854","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-20/84342692a81d69a198aeccfd01bd750e.jpg","price":"0","title":"app+wap-普通-香梨-北京","type":"2","target_id":"5796","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/2b5727933d830baf671ed0f1af657e2d.jpg","price":"0","title":"app-普通-巨无霸绿果-北京","type":"2","target_id":"6271","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-19/7ac074356df180c71cd3e8400136dfdd.jpg","price":"0","title":"app+wap-普通-琯溪蜜柚-北京","type":"2","target_id":"6195","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/a2ed9b237c9977efeae6b2d97f886430.jpg","price":"0","title":"智利蓝莓","type":"2","target_id":"6052","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/899e8f9bc7d430266e5b125e8ec9997e.jpg","price":"0","title":"app-普通-阳光金果-北京","type":"2","target_id":"4058","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-13/dfc8e36b4c971a9da4706b8d84591180.jpg","price":"0","title":"app+wap-普通-秘鲁葡萄柚-北京","type":"2","target_id":"6017","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-17/6bd192f89184b9ee54c82ade2f8509d3.jpg","price":"0","title":"app+wap-普通-石榴-北京","type":"2","target_id":"5156","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/ea45cc89b844b5b459b0916dd4a6f349.jpg","price":"0","title":"app+wap-普通-牛油果-北京","type":"2","target_id":"4339","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/1a364adef1bde560dfb6b5924be53b3b.jpg","price":"0","title":"app+wap-普通-文旦-北京","type":"2","target_id":"987","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-24/684d88c53d2aac6a5f2ceee346cfc28c.jpg","price":"0","title":"app+wap-普通-梨应水润组合-北京","type":"2","target_id":"5935","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/d8e403cceaf46046fcda72cc9521045c.jpg","price":"0","title":"app+wap-普通-百香果-北京","type":"2","target_id":"4916","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/b8bfb1b2354b24865f3a35f7a5f7e495.jpg","price":"0","title":"app+wap-普通-青柠檬-北京","type":"2","target_id":"2937","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-27/7b2581eded0088548a195d0d5900fa78.jpg","price":"0","title":"东海小黄鱼","type":"2","target_id":"4841","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-27/2952e3655ba2534edd595cff405c9e49.jpg","price":"0","title":"澳洲草饲牛腩块","type":"2","target_id":"5588","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-26/3b0a253323efe7111373ee8f93a342d1.jpg","price":"0","title":"app-普通-龙利鱼柳-全仓","type":"2","target_id":"4892","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/732ecb81631ac8a1ef689b470fe27282.jpg","price":"0","title":"泰森鸡翅根","type":"2","target_id":"4624","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-09-15/2e557b8582b0a2aca1067eff70ab99e2.jpg","price":"0","title":"青虾仁","type":"2","target_id":"5591","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-10/16bbb7eb220de73881096fa9abd80e38.jpg","price":"0","title":"app-普通-太湖银鱼-外地","type":"2","target_id":"6092","description":"","page_url":"","position":"1","channel":"portal"}]
     * top_banner : [{"photo":"http://cdn.fruitday.com/images/2015-10-23/22c11278d1558a30634f132e89818a6e.jpg","price":"0","title":"双11狂欢节","type":"6","target_id":"1111","description":"","page_url":"http://huodong.fruitday.com/sale/1111party/indexbj.html?","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-28/747ddc19dd7222cc1c576f29b0888c76.jpg","price":"0","title":"app-置顶01-蜜柚红包-北京","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/grapefruit1016/appbj.html?","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-23/20d5b6491888bbccecf859eb0d7e2ffe.jpg","price":"0","title":"不等双11，节前钜惠来一波","type":"10","target_id":"675","description":"","page_url":"","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-23/9f9106e89aefc07e085dffaa2990e2c1.jpg","price":"0","title":"app-普通广告-云南冰糖橙-全仓","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/yunnanc/yunnanc.html?","position":"1","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-20/ccd11def383a1b7c8576af94894ad750.jpg","price":"0","title":"app-普通-o2o-北京","type":"9","target_id":"0","description":"","page_url":"fruitday://O2O","position":"1","channel":"portal"}]
     * qiangxian_product_list : [{"photo":"http://cdn.fruitday.com/images/2015-07-27/1437982436_pic.jpg","price":"0","title":"app+wap-抢鲜啦-北京","type":"7","target_id":"186","description":"","page_url":"","position":"15","channel":"portal"}]
     * horizontal_product_banner : [{"photo":"http://cdn.fruitday.com/images/2015-10-22/6136127fb9a272ec1ee798c679cd598c.jpg","price":"0","title":"新品速递","type":"6","target_id":"0","description":"","page_url":"http://www.fruitday.com/web/cms/3?","position":"18","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-23/7f67ab09054bd3c3cd3be314853352da.jpg","price":"0","title":"抢鲜啦","type":"7","target_id":"186","description":"","page_url":"","position":"18","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-13/a8c2ba18d4567d25775292eda8b51a4b.jpg","price":"0","title":"进店必败","type":"6","target_id":"0","description":"","page_url":"http://www.fruitday.com/web/cms/19?","position":"18","channel":"portal"}]
     * is_store_exist : 1
     * is_o2o_initial : 0
     * register_gift_desc : 时令鲜果一份
     * shake_url : http://huodong.fruitday.com/sale/shake/index.html?
     * mix_product_banner : [{"photo":"http://cdn.fruitday.com/images/2015-10-27/70cb3d1a7cb9eeb3775ca96f4d48e8eb.jpg","price":"0","title":"人气爆品","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/renqi/wdindex.html?","position":"16","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-27/dc38beab6b81bb3c08a9c6c9ec7c2869.jpg","price":"0","title":"app-复合02-放心肉专区","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/fangxinrou/wdindex.html?","position":"16","channel":"portal"},{"photo":"http://cdn.fruitday.com/images/2015-10-27/0f9a36bc217690035905df8f7359d560.jpg","price":"0","title":"海鲜专区","type":"6","target_id":"0","description":"","page_url":"http://huodong.fruitday.com/sale/haixian/index.html?","position":"16","channel":"portal"}]
     */

    private int is_store_exist;
    private int is_o2o_initial;
    private String register_gift_desc;
    private String shake_url;
    private List<RotationEntity> rotation;
    private List<BannerEntity> banner;
    private List<TopBannerEntity> top_banner;
    private List<QiangxianProductListEntity> qiangxian_product_list;
    private List<HorizontalProductBannerEntity> horizontal_product_banner;
    private List<MixProductBannerEntity> mix_product_banner;

    public void setIs_store_exist(int is_store_exist) {
        this.is_store_exist = is_store_exist;
    }

    public void setIs_o2o_initial(int is_o2o_initial) {
        this.is_o2o_initial = is_o2o_initial;
    }

    public void setRegister_gift_desc(String register_gift_desc) {
        this.register_gift_desc = register_gift_desc;
    }

    public void setShake_url(String shake_url) {
        this.shake_url = shake_url;
    }

    public void setRotation(List<RotationEntity> rotation) {
        this.rotation = rotation;
    }

    public void setBanner(List<BannerEntity> banner) {
        this.banner = banner;
    }

    public void setTop_banner(List<TopBannerEntity> top_banner) {
        this.top_banner = top_banner;
    }

    public void setQiangxian_product_list(List<QiangxianProductListEntity> qiangxian_product_list) {
        this.qiangxian_product_list = qiangxian_product_list;
    }

    public void setHorizontal_product_banner(List<HorizontalProductBannerEntity> horizontal_product_banner) {
        this.horizontal_product_banner = horizontal_product_banner;
    }

    public void setMix_product_banner(List<MixProductBannerEntity> mix_product_banner) {
        this.mix_product_banner = mix_product_banner;
    }

    public int getIs_store_exist() {
        return is_store_exist;
    }

    public int getIs_o2o_initial() {
        return is_o2o_initial;
    }

    public String getRegister_gift_desc() {
        return register_gift_desc;
    }

    public String getShake_url() {
        return shake_url;
    }

    public List<RotationEntity> getRotation() {
        return rotation;
    }

    public List<BannerEntity> getBanner() {
        return banner;
    }

    public List<TopBannerEntity> getTop_banner() {
        return top_banner;
    }

    public List<QiangxianProductListEntity> getQiangxian_product_list() {
        return qiangxian_product_list;
    }

    public List<HorizontalProductBannerEntity> getHorizontal_product_banner() {
        return horizontal_product_banner;
    }

    public List<MixProductBannerEntity> getMix_product_banner() {
        return mix_product_banner;
    }

    public static class RotationEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-10-20/f3c60c9a68a72db8a0604596fa9b776f.jpg
         * price : 0
         * title : app-普通-大凉山苹果-北京上海
         * type : 6
         * target_id : 0
         * description :
         * page_url : http://active.fruitday.com/sale/dls/dlsapp.html?
         * position : 0
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }

    public static class BannerEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-10-28/01718c6d171294ae6cadd08839119805.jpg
         * price : 0
         * title : 万圣节
         * type : 6
         * target_id : 0
         * description :
         * page_url : http://huodong.fruitday.com/sale/ifresh/wsj/indexbj.html?
         * position : 1
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }

    public static class TopBannerEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-10-23/22c11278d1558a30634f132e89818a6e.jpg
         * price : 0
         * title : 双11狂欢节
         * type : 6
         * target_id : 1111
         * description :
         * page_url : http://huodong.fruitday.com/sale/1111party/indexbj.html?
         * position : 1
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }

    public static class QiangxianProductListEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-07-27/1437982436_pic.jpg
         * price : 0
         * title : app+wap-抢鲜啦-北京
         * type : 7
         * target_id : 186
         * description :
         * page_url :
         * position : 15
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }

    public static class HorizontalProductBannerEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-10-22/6136127fb9a272ec1ee798c679cd598c.jpg
         * price : 0
         * title : 新品速递
         * type : 6
         * target_id : 0
         * description :
         * page_url : http://www.fruitday.com/web/cms/3?
         * position : 18
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }

    public static class MixProductBannerEntity {
        /**
         * photo : http://cdn.fruitday.com/images/2015-10-27/70cb3d1a7cb9eeb3775ca96f4d48e8eb.jpg
         * price : 0
         * title : 人气爆品
         * type : 6
         * target_id : 0
         * description :
         * page_url : http://huodong.fruitday.com/sale/renqi/wdindex.html?
         * position : 16
         * channel : portal
         */

        private String photo;
        private String price;
        private String title;
        private String type;
        private String target_id;
        private String description;
        private String page_url;
        private String position;
        private String channel;

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setTarget_id(String target_id) {
            this.target_id = target_id;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setPage_url(String page_url) {
            this.page_url = page_url;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhoto() {
            return photo;
        }

        public String getPrice() {
            return price;
        }

        public String getTitle() {
            return title;
        }

        public String getType() {
            return type;
        }

        public String getTarget_id() {
            return target_id;
        }

        public String getDescription() {
            return description;
        }

        public String getPage_url() {
            return page_url;
        }

        public String getPosition() {
            return position;
        }

        public String getChannel() {
            return channel;
        }
    }
}
